home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / ARCH-ARC / MMU.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  761b  |  30 lines

  1. /*
  2.  * linux/include/asm-arm/arch-arc/mmu.h
  3.  *
  4.  * Copyright (c) 1996 Russell King.
  5.  *
  6.  * Changelog:
  7.  *  22-11-1996    RMK    Created
  8.  */
  9. #ifndef __ASM_ARCH_MMU_H
  10. #define __ASM_ARCH_MMU_H
  11.  
  12. #define __virt_to_phys__is_a_macro
  13. #define __virt_to_phys(vpage) vpage
  14. #define __phys_to_virt__is_a_macro
  15. #define __phys_to_virt(ppage) ppage
  16.  
  17. /*
  18.  * Virtual view <-> DMA view memory address translations
  19.  * virt_to_bus: Used to translate the virtual address to an
  20.  *              address suitable to be passed to set_dma_addr
  21.  * bus_to_virt: Used to convert an address for DMA operations
  22.  *              to an address that the kernel can use.
  23.  */
  24. #define __virt_to_bus__is_a_macro
  25. #define __virt_to_bus(x)    (x)
  26. #define __bus_to_virt__is_a_macro
  27. #define __bus_to_virt(x)    (x)
  28.  
  29. #endif
  30.